from django.http import HttpResponse
from django.shortcuts import render

# Create your views here.


def book_detail_query_string(request):
    book_id = request.GET.get('id')
    book_name = request.GET.get('name')
    return HttpResponse(f"您查找的book_id是{book_id},图书名称为{book_name}")

def book_detail_path(request,book_id):
    return HttpResponse(f"您查找的book_id是{book_id}")